// dlg.txt

//		mark_quest_dest(zone,x,y,layer,quest);
//		cancel_out_fight(0,short kill_enc);
//		make_outdoor_enc(short x,short y,short which_enc);
//		set_out_fight_field(short which_field);
// 				which_field is 0-20

begintalkscript;

variables;

short this_sec = 21;

begintalknode;
	tag = 1;
	condition = get_sdf(100 + this_sec,1) == 0;
	text1 = "You continue to laboriously climb the glacier that fills this valley. You get colder. The crevasses grow more frequent. The few hours of vacation you got back at Port Osborn, hunting and feasting, are a distant, taunting memory.";
	text2 = "The valley curves around to the north. Ahead, through the mist and snow, you think you can make out lights. A line of torches in the far distance, leading the way to the summit. To Prova Krug.";
	code =
		sf(100 + this_sec,1,1);
	break;
	
begintalknode;
	tag = 2;
	condition = get_sdf(100 + this_sec,2) == 0;
	text1 = "You see another ruin ahead. A crumbling, massive tower, built by forgotten people centuries ago. Maybe Ro, maybe those who were here before. Why would they build such a monument this far up? Was the mountain warmer then?";
	text2 = "Anyway, your musing doesn't last long. The dragon knocks all such thoughts from your mind.";
	text3 = "It is an enormous beast, light blue scales gleaming in the faint sun, circling over the tower. The many humans traveling up here have attracted its attention, though it declines to hunt the Ro.";
	text4 = "It circles above several times. Then it lands on the top of the tower and disappears from view.";
	code =
		sf(100 + this_sec,2,1);
	break;

begintalknode;
	tag = 3;
	condition = get_sdf(100 + this_sec,3) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,3,1);
	break;

begintalknode;
	tag = 4;
	condition = get_sdf(100 + this_sec,4) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,4,1);
	break;

begintalknode;
	tag = 5;
	condition = get_sdf(100 + this_sec,5) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,5,1);
	break;

begintalknode;
	tag = 6;
	condition = get_sdf(100 + this_sec,6) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,6,1);
	break;

begintalknode;
	tag = 7;
	condition = get_sdf(100 + this_sec,7) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,7,1);
	break;

begintalknode;
	tag = 8;
	condition = get_sdf(100 + this_sec,8) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,8,1);
	break;

begintalknode;
	tag = 9;
	condition = get_sdf(100 + this_sec,9) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,9,1);
	break;

begintalknode;
	tag = 10;
	condition = get_sdf(100 + this_sec,10) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,10,1);
	break;

begintalknode;
	tag = 11;
	condition = get_sdf(100 + this_sec,11) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,11,1);
	break;

begintalknode;
	tag = 12;
	condition = get_sdf(100 + this_sec,12) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,12,1);
	break;

// MIXED

begintalknode;
	tag = 13;
	condition = 1;
	text1 = "You don't find much when you search the bodies. They were near the end of their supplies. You do find one pleasant surprise, though: A stoppered flask.";
	code =
		reward_give(340);
	break;
	
begintalknode;
	tag = 14;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 15;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 16;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 17;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 18;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 19;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 20;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 21;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 22;
	condition = 1;
	text1 = "__";

////


begintalknode;
	tag = 30;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "There is a band of Ro warriors traveling on this road. Even though they are bundled up, they are still shivering. Their olive skin and heavy metal armor makes you think that they are from the hills of the Low Dhaga.";
	text2 = "The fog and wide open areas are disorienting them. Your emergence from the mist startles them. Then they draw their weapons.";

begintalknode;
	state = 10;
	nextstate = 11;
	condition = 1;
	question = "Approach them.";
	text1 = "When they see who you are, they don't lower their blades. The leader of the men says, _You are the [P] of Haven. The one who killed our raiders, the one who thinks we are property. We travel to Prova Krug to plan our freedom._";
	text3 = "When they see who you are, they don't lower their blades. The leader of the men says, _You are the [P] of Haven. The one who killed our raiders, the one who thinks we are property._";
	action = DEP_ON_SDF 80 15 2;
	
begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Just run away.";
	text1 = "You turn and move off into the snow. You think that the warriors will just continue their journey to the meeting place above.";
	text2 = "Then you look back and see they are following you. Their weapons are still out, and they look furious. You try to outpace them, but you find that they can travel over the ice surprisingly well.";
	action = END_TALK;
	
begintalknode;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "_Tell me more about Prova Krug._";
	text1 = "_It is the meeting place, where all great decisions of the Ro are made. Just to speak, you must tolerate this deadly journey. Truly, the right to speak for the Rokaj must be earned._";

begintalknode;
	state = 11;
	nextstate = -1;
	condition = gf(80,15) < 3;
	question = "_You go to see the challenge against me?_";
	text1 = "_We go to speak for Low Dhaga. The softer folk of the Kranas and the Gentle Coast are used to soft lives. The Dhagans go to put steel in their spines._";

begintalknode;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "_I don't want to fight you._";
	text1 = "They laugh at you. _We know you don't want to fight. Will the soft Havenites die to keep these mountains? We think not!_ They are wrong, but they will learn it too late.";
	text2 = "_We climbed to Prova Krug to speak. There is one thing that will give us more authority. The head of the [P] of Haven!_";
	action = END_TALK;
	code =
		violence(-2);
	break;

begintalknode;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "_You take part in rebellion against us. You must die._ Attack.";
	text1 = "_Let the war begin here, then! Our purpose is to go to Prova Krug to speak. There is one thing that will give us more authority. The head of the [P] of Haven!_";
	action = END_TALK;
		code =
		violence(3);
	break;
	
	
//

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 40;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

	
//

begintalknode;
	tag = 70;
	state = -1;
	nextstate = 70;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";


//

begintalknode;
	tag = 100;
	state = -1;
	nextstate = 100;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 100;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 130;
	state = -1;
	nextstate = 130;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 130;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 160;
	state = -1;
	nextstate = 160;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 160;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
		
//

begintalknode;
	tag = 190;
	state = -1;
	nextstate = 190;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 190;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
				